import { defHttp } from '/@/utils/http/axios';

enum Api {
  SettingsList = '/system.settings/getList',
  SettingsAdd = '/system.settings/add',
  SettingsDel = '/system.settings/del',
  sendWechatMsgAdminNoticeServer = '/taskCenter.taskNotice/sendWechatMsgAdminNoticeServer',
}

export const SettingsList = (params?: any) => defHttp.get<any>({ url: Api.SettingsList, params });
export const SettingsAdd = (params?: any) => defHttp.post<any[]>({ url: Api.SettingsAdd, params });
export const SettingsDel = (params?: any) => defHttp.post<any[]>({ url: Api.SettingsDel, params });
export const sendWechatMsgAdminNoticeServer = (params?: any) => defHttp.post<any[]>({ url: Api.sendWechatMsgAdminNoticeServer, params });
